package org.lanqiao.service;

import org.lanqiao.bean.EduTeacherBean;
import org.lanqiao.bean.EduUserBean;
import org.lanqiao.dao.FactoryDao;

public class LoginService {
	
	public boolean isLogined(EduTeacherBean etb){
		return FactoryDao.getLoginDao().isLogined(etb);
	}

	public EduUserBean getStudentLogin(EduUserBean eub) {
		return FactoryDao.getLoginDao().getStudentLoginInfo(eub);
	}

	public EduTeacherBean getTeacherLogined(EduTeacherBean etd) {
		return FactoryDao.getLoginDao().getTeacherInfo(etd);
	}
	
	
}
